package com.night.icm.model.business;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * NotificationInformationDTO
 *
 * @author Liao ZhiYong
 * @date 2020/4/1
 */
@ApiModel(description = "通知信息")
@Data
public class NotificationInformationDTO {

    @ApiModelProperty(position = 110, value = "id，自增")
    private String id;

    @ApiModelProperty(position = 110, value = "通知标题")
    private String title;

    @ApiModelProperty(position = 110, value = "通知类型")
    private String type;

    @ApiModelProperty(position = 110, value = "通知创建时间")
    private Date date;

    @ApiModelProperty(position = 110, value = "通知内容")
    private String content;

    @ApiModelProperty(position = 110, value = "接收者，用户id")
    private String receiverId;

    @ApiModelProperty(position = 110, value = "接收者名称")
    private String receiverName;

    @ApiModelProperty(position = 110, value = "通知是否被接收确认")
    private Boolean isConfirm;

    @ApiModelProperty(position = 360, value = "附件列表")
    private List<SystemFileDTO> files;

    @ApiModelProperty(position = 500, value = "附件ID列表")
    private List<String> fileIds;
}